import axios from '@/libs/request/axios'

//根据用户名获取案件消息通知
export const getCaseNoticeInfoByUsername = (params) => {
    return axios.request({
        url:`/case/noticeInfo/getCaseNoticeInfoByUsername`,
        params: params,
        method: 'get'
    })
}
//根据申请编号获取案件消息通知
export const getCaseNoticeInfoByApplyNo = (params) => {
    return axios.request({
        url:`/case/noticeInfo/getCaseNoticeInfoByApplyNo`,
        params: params,
        method: 'get'
    })
}
//标记为已读
export const markCaseNoticeInfoAsRead = (params) => {
    return axios.request({
        url: '/case/noticeInfo/markCaseNoticeInfoAsRead',
        data: params,
        method: 'post'
    })
}


